package edu.sctu.practice.class02.yangyiqing.exam.test01;

import java.util.Scanner;

/**
 * Created by Administrator on 2015/10/9 0009.
 */
public class Guess {


    public static void main(String[] args) {
        System.out.println("请输入一个数：");
        A a = new A();
        Scanner s = new Scanner(System.in);
        int number = s.nextInt();
        if (number > a.v) {
            System.out.println("您输入的数字大了！！！");
        } else if (number < a.v) {
            System.out.println("您输入的数字小了！！！");
        } else {
            System.out.println("您输入了正确的数字！！！");
        }
    }


}
